package com.usian;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication  //表示这是一个springboot的项目
@MapperScan("com.usian.mapper")
//@EnableScheduling //开启执行定时任务
public class App {

    //springboot 启动类   位置放到项目的根路径下  原因 componentScan 包扫描
    public static void main(String[] args) {
       SpringApplication.run(App.class,args);
    }
}
